Skip to content

feat: replace the render wording with regenerate in user-visible text - #373

Merged
NejcS merged 2 commits into
mainfrom
toil/rename-render-to-regenerate
Dec 4, 2026
Merged

NejcS merged 2 commits into
mainfrom
toil/rename-render-to-regenerate

Conversation

@NejcS

@NejcS NejcS commented Dec 2, 2026 •

Copy link
Copy Markdown
Member

This PR makes the codeplain CLI say "regenerate" in place of "render" in all text that a user sees.

Why
We now use the term "regenerative software". We do not use the word "render" any more.

What a user sees
The terminal UI, the console and log messages, the --help text and the docs say "regenerate". Example: "✓ Regeneration of module X completed successfully." The label "render id" is now "regeneration id". "Rendering credits" are now "regeneration credits".

What does not change
The flag names (--render-from, --render-range, --force-render). The API. The Render ID: line that the CLI writes in the commit messages of the build folders.

One addition
The help of --render-range has two new sentences. They say how it is different from --regenerate.

Before this is released
Scripts that search the CLI output for the old lines must change. The codeplain-dashboard collector has its own PR for that. The scripts in my-awesome-crm are not changed yet.

Checks
643 tests pass. The end-to-end tests were not run.

Part of ENG-404

Summary by CodeRabbit

  • Documentation
    • Updated the project overview, guides, and CLI help to describe code generation as regeneration.
    • Clarified how to regenerate a single functionality while retaining later ones.
  • User Interface
    • Updated CLI, onboarding, and progress messages to use regeneration terminology, including status, credits, completion, and error messages.

We now use the term "regenerative software". The TUI, the console and
log messages, the `--help` text and the docs now say "regenerate".

Not changed: flag names (`--render-from`, `--render-range`,
`--force-render`), API routes and fields, the `Render ID:` line in
commit messages of the build folders, and code names.

The success and failure lines of a module changed. Scripts that search
for the old lines must be updated.
@NejcS
NejcS requested a review from a team December 2, 2026 10:15
@NejcS NejcS self-assigned this Dec 2, 2026
@coderabbitai

coderabbitai Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The pull request replaces rendering terminology with regeneration terminology across project documentation, CLI help, runtime messages, and tests. It also clarifies CLI descriptions for range selection and the --regenerate option. Execution logic remains unchanged.

Changes: Regeneration terminology

Layer / File(s) Summary
Project and onboarding documentation
CLAUDE.md, README.md, CONTRIBUTING.md, docs/starting_a_plain_project_from_scratch.md, install/bash/*, install/powershell/*
Project and architecture descriptions, testing guidance, and onboarding text now refer to regeneration rather than rendering.
CLI descriptions and range guidance
docs/plain2code_cli.md, plain2code_arguments.py, plain2code_cli.md
CLI descriptions use regeneration terminology. They document --regenerate and clarify the described behavior of --render-range and retaining later functionalities.
Runtime messages and matching tests
cli_output/*, codeplain_REST_api.py, partial_rendering.py, plain2code.py, plain_modules.py, render_machine/*, tui/*, usage_summary.py, tests/*
Runtime messages, logs, error text, and TUI labels now use regeneration terminology. Related tests expect the updated wording.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Possibly related PRs

Suggested reviewers: vitjanz, pedjaradenkovic, zanjonke

Merge Risk: Minimal · up to c7464

This PR renames "render" to "regenerate" in CLI output, help text and documentation without changing behavior. I found no concrete merge-blocking risk. Any external scripts that match the old output lines need to be updated as the PR description already notes.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "feat: replace the render wording with regenerate in user-visible text" matches the main change. The raw summary and objectives show the PR renames user-facing CLI, TUI, log, help, and docum…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "feat: replace the render wording with regenerate in user-visible text" matches the main change. The raw summary and objectives show the PR renames user-facing CLI, TUI, log, help, and documentation text from "render" to "regenerate" across many files. The PR keeps the flags, API, and build-folder commit-message format unchanged, and the title does not claim otherwise. The title is specific and describes the primary change.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: fe983f1c-6374-4627-84c2-f3f6666ea2a5
Commits

Reviewing files that changed from the base of the PR and between fd790fe and c746481.

Files selected for processing: 1

  • cli_output/dry_run.py
Files skipped from review as they are similar to previous changes: 1

  • cli_output/dry_run.py

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

Comment thread cli_output/dry_run.py Outdated
console.info(
"-------------------------------------\n"
f"Skipping rendering iteration: {with_position(frid, functionality_position(frids, frid))}\n"
f"Skipping regeneration iteration: {with_position(frid, functionality_position(frids, frid))}\n"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if this one could be regeneration cycle / round or something else that doesn't rhyme 😆

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea. I changed it to "Skipping regeneration round"

@NejcS
NejcS requested a review from ana-plain December 4, 2026 10:24
@NejcS
NejcS merged commit 5dde6b6 into main Dec 4, 2026
13 checks passed
@NejcS
NejcS deleted the toil/rename-render-to-regenerate branch December 4, 2026 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants